<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set value="${pageContext.request.contextPath}" var="ctx" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>考勤管理系统-新增组织架构</title>
<link rel="stylesheet" type="text/css" href="${ctx}/css/common.css" />
<script type="text/javascript" src="${ctx }/js/jquery.js"></script>
</head>
<body>
	<form action="${ctx }/role/add" method="post">
		<table>
			<tr>
				<td>角色名称：</td>
				<td>
					<input type="text" name="roleName" />
				</td>
			</tr>
			<tr>
				<td>特权：</td>
				<td>
					<div>
					<c:forEach items="${privs.rows}" var="obj">
						<span><input type="checkbox" name="priv" value="${obj.privId}" />${obj.privName}</span>
					</c:forEach>
					<div>
				</td>
			</tr>
			<tr>
				<td clospan="2"><input type="submit" value="add" /></td>
			</tr>
		</table>
	</form>
</body>
</html>
